﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using StyleMVVM.DependencyInjection;
using StyleMVVM.DependencyInjection.Impl;

namespace StyleMVVM.View
{
	/// <summary>
	/// This attribute is meant to be applied to a Page that is supposed to start the application
	/// </summary>
	[AttributeUsage(AttributeTargets.Class)]
	public class StartPageAttribute : ExportAttribute, IExportAttribute
	{
		public static string StartPageExportName = "StartPage";

		public StartPageAttribute()
			: base(StartPageExportName)
		{
		}

		public StartPageAttribute(string exportName)
			: base(exportName, StartPageExportName)
		{
		}
	}
}